package org.jeecg.modules.solitaire_app.app.service.impl;

import com.baomidou.dynamic.datasource.annotation.DS;
import org.jeecg.modules.solitaire_app.app.entity.YsySystemContent;
import org.jeecg.modules.solitaire_app.app.mapper.YsySystemContentMapper;
import org.jeecg.modules.solitaire_app.app.service.IYsySystemContentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

/**
 * @Description: 系统规则
 * @Author: jeecg-boot
 * @Date:   2023-09-13
 * @Version: V1.0
 */
@Service
@DS("ysy_db")
public class YsySystemContentServiceImpl extends ServiceImpl<YsySystemContentMapper, YsySystemContent> implements IYsySystemContentService {

    @Autowired
    private YsySystemContentMapper ysySystemContentMapper;

    @Override
    public YsySystemContent getOneData(int type) {
        return ysySystemContentMapper.getOneData(type);
    }
}
